<template>
  <div class="lstm-container">
    <br>
    <div class="img">
    <img style="margin: 0 auto" height="100%" width="95%" src="../../assets/forecast.png">
    </div>
    <br>
    <div class="button_predict">
      <el-button type="primary" icon="plus" size="medium" @click="setTle" >  TLE数据预测  </el-button>
    </div>
    <br>

    <div class="text_tle">
      <el-input type="textarea" :rows="14" placeholder="" v-model="tleData"></el-input>
    </div>

    <br>
    <br>
    <br>
  </div>
</template>

<script>
    export default {
      name: "lstm",

      data() {
        return{
          tleData: '' 
        }
      },

      methods: {
        setTle: function () {
          this.tleData = "第一天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03123.93167553  .00000092  00000-0  80275-4 0  6446\n" +
            "2 21087  82.7507 262.3162 0035834  44.0548 316.3592 13.47557656250000\n" +
            "第二天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03124.44107576  .00000104  00000-0  92968-4 0  6190\n" +
            "2 21087  82.7507 261.9388 0035834  42.6932 317.7151 13.47557656250000\n" +
            "第三天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03124.87770475  .00000102  00000-0  90731-4 0  6252\n" +
            "2 21087  82.7507 261.6153 0035834  41.5262 318.8772 13.47557656250000\n" +
            "第四天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03125.89650590  .00000090  00000-0  77495-4 0  6360\n" +
            "2 21087  82.7507 260.8605 0035834  38.8031 321.5890 13.47557656250000\n" +
            "第五天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03126.84253522  .00000082  00000-0  69818-4 0  6204\n" +
            "2 21087  82.7507 260.1596 0035834  36.2746 324.1070 13.47557656250000\n" +
            "第六天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03126.91530680  .00000082  00000-0  69347-4 0  6213\n" +
            "2 21087  82.7507 260.1056 0035834  36.0801 324.3007 13.47557656250000\n" +
            "第七天:\n"+
            "IRIDIUM 118\n"+
            "1 21087U 91006A   03127.86133616  .00000051  00000-0  37269-4 0  6300\n" +
            "2 21087  82.7507 259.4047 0035834  33.5516 326.8187 13.47557656250000"
        }
      }
    }
</script>

<style scoped>
  .img {
    text-align: center;
    margin: 0 auto;
    width:70%;
  }
  .button_predict {
    margin-left: 170px;
  }
  .text_container {
    text-align: center;
    align-content: center;
    margin: 0 auto;
  }
  .text_tle {
    margin-left: 5%;
    width: 90%;
  }
</style>
